/**
 * 
 */
package com.qiaoan.back.model.sys;

import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

/**
 * @see 用户
 * @author zhang_chong521
 *
 */
public class UserModel extends BaseModel{
	

	//用户组id
	private Integer group_id ;
	  
    // 用户名  
    private String user_name;
  
    // 密码  
    private String password;  
  
    // 真实姓名  
    private String real_name;
  
    // 手机  
    private String phone;  
  
    // 公司或单位  
    private String company;  
  
    // 电子邮件  
    private String email;  
  
    // 是否可用  
    private Integer enabled = 1;
  
    // 激活码  
    private String activation_code;
      
      
    // 重置码  
    private String reset_code;
    
    /* 
     * 用户类型: 1：平台管理员 2：团队管理员 3：团队用户
     */  
    private Integer user_type;
  
    /* 
     * 用户状态 1：禁用(未激活) 2：启用（激活）
     */  
    private Integer user_state = 1;
      
      
    /* 
     * 是否黑名单    1：白名单   2：黑名单
     */  
    private Integer abolished = 1;
      
      
    //用户代号  
    private String usermark;
      
    //PDA imei信息  
    private String imei;

	public Integer getGroup_id() {
		return group_id;
	}

	public void setGroup_id(Integer group_id) {
		this.group_id = group_id;
	}

	public String getUser_name() {
		return user_name;
	}

	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getReal_name() {
		return real_name;
	}

	public void setReal_name(String real_name) {
		this.real_name = real_name;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getCompany() {
		return company;
	}

	public void setCompany(String company) {
		this.company = company;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Integer getEnabled() {
		return enabled;
	}

	public void setEnabled(Integer enabled) {
		this.enabled = enabled;
	}

	public String getActivation_code() {
		return activation_code;
	}

	public void setActivation_code(String activation_code) {
		this.activation_code = activation_code;
	}

	public String getReset_code() {
		return reset_code;
	}

	public void setReset_code(String reset_code) {
		this.reset_code = reset_code;
	}

	public Integer getUser_type() {
		return user_type;
	}

	public void setUser_type(Integer user_type) {
		this.user_type = user_type;
	}

	public Integer getUser_state() {
		return user_state;
	}

	public void setUser_state(Integer user_state) {
		this.user_state = user_state;
	}

	public Integer getAbolished() {
		return abolished;
	}

	public void setAbolished(Integer abolished) {
		this.abolished = abolished;
	}

	public String getUsermark() {
		return usermark;
	}

	public void setUsermark(String usermark) {
		this.usermark = usermark;
	}

	public String getImei() {
		return imei;
	}

	public void setImei(String imei) {
		this.imei = imei;
	}
}